package com.ruanyun.sys.modular.system.mapper;

import com.ruanyun.sys.modular.system.entity.Stations;
import com.ruanyun.sys.modular.system.model.params.StationsParam;
import com.ruanyun.sys.modular.system.model.result.StationsResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 岗位 Mapper 接口
 * </p>
 *
 * @author wangchuan
 * @since 2019-08-15
 */
public interface StationsMapper extends BaseMapper<Stations> {

    /**
     * 获取map列表
     *
     * @author administrator
     * @Date 2019-06-27
     */
    List<Map<String, Object>> getAllStationMap();

    /**
     * 获取列表
     *
     * @author wangchuan
     * @Date 2019-08-15
     */
    List<StationsResult> customList(@Param("paramCondition") StationsParam paramCondition);

    /**
     * 获取map列表
     *
     * @author wangchuan
     * @Date 2019-08-15
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") StationsParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author wangchuan
     * @Date 2019-08-15
     */
    Page<StationsResult> customPageList(@Param("page") Page page, @Param("paramCondition") StationsParam paramCondition);

    /**
     * 获取分页map列表
     *
     * @author wangchuan
     * @Date 2019-08-15
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") StationsParam paramCondition);

}
